home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS01.ADF
/
ABasicStuff
/
Sounds
/
Entertainer.bas
< prev
next >
Wrap
BASIC Source File
|
1985-12-04
|
1KB
|
35 lines
10 screen 0,4
20 ?at(0,10);
30 ?:?"Press 'ESC' to end music":?
40 ?"<after> tune has finished"
50 on error goto 320
60 audio 15,1
70 read l,p
80 if p=0 then 100
90 x=sound(15,0,L/2.2,64,p*2)
100 for x=1 to L:next
110 goto 70
120 '
130 ' line 150 causes vibrato effect
140 '
150 data 680,13000
160 '
170 data 300,430,300,406,300,380,600,240,300,380,600,240,300,380,1080,240
180 data 300,0
190 data 300,226,300,210,300,198,300,186,300,240,600,210,300,186,300,240,600,210,1080,240
200 data 300,0
210 data 300,430,300,406,300,380,600,240,300,380,600,240,300,380,1080,240
220 data 300,0
230 data 300,284,300,320,300,340,300,284,350,240,700,186,300,240,300,250,310,284,1080,210
240 data 300,0
250 data 300,430,300,406,300,380,600,240,300,380,600,240,300,380,1080,240
260 data 300,0
270 data 300,226,300,210,300,198,300,186,300,240,600,210,300,186,300,250,600,210,1080,240
280 data 500,0
290 data 300,240,300,210,310,186,300,240,300,210,720,186,300,210,300,240,300,210
300 data 310,186,300,240,300,210,720,186,300,210,300,240,300,210
310 data 310,186,300,240,650,210,310,186,300,250,650,210,650,240,400,320,300,0,400,480
320 get a$:if a$=chr$(3) or a$=chr$(27) then end
330 for x=1 to 1000:next
340 restore 150:resume 60